package com.dycx.food.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dycx.food.dto.GoodsQueryDTO;
import com.dycx.food.entity.GoodsMainDO;
import com.dycx.food.vo.GoodsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GoodsMainFoodMapper extends BaseMapper<GoodsMainDO> {
    Page<GoodsVO> getPage(Page<GoodsVO> page, @Param("param") GoodsQueryDTO param);

    Integer getMaxSort();
}
